package sunwin.yoms.web.controller.publicty;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.ModelAndView;
import sunwin.yoms.domain.publicty.VerifyStateDomain;
import sunwin.yoms.service.publicty.VerifyStateService;

import java.util.List;

/**
 * Created by watson on 2015/7/29.
 */
@Controller
public class VerifyStateController {
    @Autowired
    private VerifyStateService verifyStateService;
//    @RequestMapping(value = "",method = RequestMethod.GET)
    public ModelAndView VerifyStateManager(VerifyStateDomain verifyStateDomain)
    {
        List<VerifyStateDomain> verifyStateDomains=verifyStateService.getVerfiDomain(verifyStateDomain);
        ModelAndView mav=new ModelAndView("");
        mav.addObject("",verifyStateDomains);
        return mav;
    }
}
